import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const dashboard: AppRouteModule = {
  path: '/table',
  name: 'table',
  component: LAYOUT,
  redirect: '/table/index',
  meta: {
    orderNo: 10,
    icon: 'simple-icons:about-dot-me',
    title: t('routes.dashboard.table'),
  },
  children: [
    {
      path: 'index',
      name: 'tableIndex',
      component: () => import('/@/views/map/map/map.vue'),
      meta: {
        // affix: true,
        title: t('routes.dashboard.table'),
      },
    },
  ],
};

export default dashboard;
